/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#include "../import/head.h"
#include "local.h"
#include "os.h"

//////////////////////////////////////////////////////////////////////////////////////////////////
// 

namespace os
{

    int get_exe_full_file( char* pFile, int nLen )
    {
        int ret = platform_get_exe_full_file( pFile, nLen );
        return ret;
    }

    const char* platform()
    {
        const char* pRet = platform_platform();
        return pRet;
    }

    bool can_hot_replace()
    {
        bool bRet = platform_can_hot_replace();
        return bRet;
    }

    int ensure_memory_visibility()
    {
        int ret = platform_ensure_memory_visibility();
        return ret;
    }

} // os
